from modelscope.pipelines import pipeline
from modelscope.utils.constant import Tasks

def ner(info):
    ner_pipeline = pipeline(Tasks.named_entity_recognition, '/changzheng/PracticalTraining/lyj/lingdongai/models/ner_model')
    # 多数新生儿甲亢在出生时即有症状，表现为突眼、甲状腺肿大、烦躁、多动、心动过速、呼吸急促，严重可出现心力衰竭，血T3、T4升高，TSH下降。
    result = ner_pipeline(info)
    return result